package com.dq.service.service;

import com.dq.exception.customException.AdminException;
import com.dq.controller.in.ServiceAdd;
import com.dq.controller.in.ServiceRecordQuery;
import com.dq.vo.Vo;
import com.dq.domain.subscribe.Subscribe;
import com.dq.domain.record.ServiceRecord;
import com.dq.dto.OrgStatisticeDto;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author liuhui
 * @date 2019/12/2 0002 15:36:27
 */
public interface ServiceRecordService {
    List<OrgStatisticeDto> projectStatustuce(Long beginTime,Long endTime);

    void addService(Subscribe subscribe,ServiceAdd serviceAdd,ServiceRecord serviceRecord);

    /**
     * 计算手工费
     */
    void addManualPrice(Long id, BigDecimal scoringScale);

    Vo list(ServiceRecordQuery serviceRecordQuery) throws AdminException;

    public ServiceRecord delete(Long id) throws AdminException;
}
